<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><%= title %></title>
	<link rel='stylesheet' href='/stylesheets/style.css' />
    <link rel="shortcut icon" href="http://img4.dangdang.com/bottom/validate.gif"/>  
</head>
<body>
	<input type="hidden" id="register-res" value="<%= result %>"/>
	<% include nav %>
	<div class="newUser">
		<h1>欢迎新同学</h1>
		
	    <div class="skip clearfix">
	    	<div class="arrow">
				<div class="rect">点此登陆</div>
				<div class="next"></div>
			</div>
	    	<a href="/login">现在就去在线阅读畅游在阅读的海洋中吧！</a>
	    </div>
	</div>
	<% include footer %>
	<div class="mask hide">
		<div class="mask-info">
			欢迎加入在线阅读！
		</div>
	</div>
	<script src="/js/require.js"></script>
	<script>
		require.config({
		    paths: {
		        'jquery': '/js/jquery-2.1.3.min'
		    }
		});

		require(['jquery'], function($) {
			var res = $("#register-res").val();
		    if(res == 'true'){
		        $(".mask").fadeIn(500)
		        setTimeout(function(){
		            $(".mask").fadeOut(500);
		        },1500)
		    }
		    $(".unlogin").removeClass("show-inline").addClass("hide");
		})
	</script>
</body>
</html>